
const menuModel = {
  // checkByUsername: 'select * from user where account = ?',
  getMenuId: 'SELECT user_menu.*, GROUP_CONCAT(user_menu.menu_id) AS user_id_array FROM user_menu LEFT JOIN user ON user_menu.user_id = user.id  where user.id = ? GROUP BY user.id',
  pageList: 'select * from user',
  addUser: 'insert into ev_users set ?'
}

module.exports = menuModel
